package com.xh.petdogexpert.expert.dto;

import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class ArticlePush {
	private Integer id;

	private Integer diseaseId;

	private Integer dogId;

	private String title;

	private String description;

	private String content;

	private String solution;

	private Date creationDate;

	private Integer creationBy;

	private String picture;

	private String attribute2;
	
	private Map<String, String> custom_content;
	
	private boolean myZan;
	
	private Integer zanCount;
	
	public ArticlePush() {

	}

	public ArticlePush(String title, String description) {
		super();
		this.title = title;
		this.description = description;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDiseaseId() {
		return diseaseId;
	}

	public void setDiseaseId(Integer diseaseId) {
		this.diseaseId = diseaseId;
	}

	public Integer getDogId() {
		return dogId;
	}

	public void setDogId(Integer dogId) {
		this.dogId = dogId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution == null ? null : solution.trim();
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Integer getCreationBy() {
		return creationBy;
	}

	public void setCreationBy(Integer creationBy) {
		this.creationBy = creationBy;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture == null ? null : picture.trim();
	}

	public String getAttribute2() {
		return attribute2;
	}

	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2 == null ? null : attribute2.trim();
	}

	public Map<String, String> getCustom_content() {
		return custom_content;
	}

	public void setCustom_content(Map<String, String> custom_content) {
		this.custom_content = custom_content;
	}
	
	public boolean isMyZan() {
		return myZan;
	}
	
	public void setMyZan(boolean myZan) {
		this.myZan = myZan;
	}
	
	public void setZanCount(Integer zanCount) {
		this.zanCount = zanCount;
	}
	
	public Integer getZanCount() {
		return zanCount;
	}
}